/**
 * Created by zby on 2018/3/25.
 */
interface ShowMessage {
    void 显示商标(String s);
}

class TV implements ShowMessage {
    public void 显示商标(String s)

    {
        System.out.println(s);
    }
}

class PC implements ShowMessage {
    public void 显示商标(String s)

    {
        System.out.println(s);
    }

    public interface Example6_2 {
        public static void main(String[] args) {
            ShowMessage sm;
            sm = new TV();
            sm.显示商标("长城牌电视机");
            sm = new PC();
            sm.显示商标("联想奔月5008PC机");
        }
    }
}
